Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 1 - Appearance Manager Reference / Appearance Manager Types and Constants


Appearance-Compliant Menu Item Type Constants

NEW WITH THE APPEARANCE MANAGER

You can pass one of the following constants in the inItemType parameters of DrawThemeMenuItem and GetThemeMenuItemExtra to specify menu item type.

enum {
   kThemeMenuItemPlain           = 0,
   kThemeMenuItemHierarchical    = 1,
   kThemeMenuItemScrollUpArrow   = 2,
   kThemeMenuItemScrollDownArrow = 3
};
typedef SInt16 ThemeMenuItemType;

Constant descriptions

kThemeMenuItemPlain
A plain menu item.
kThemeMenuItemHierarchical
A hierarchical menu item.
kThemeMenuItemScrollUpArrow
A scroll-up arrow.
kThemeMenuItemScrollDownArrow
A scroll-down arrow.
SPECIAL CONSIDERATIONS
Make sure Appearance Manager 1.0.1 is present before using the ThemeMenuItemType type or the Appearance-compliant menu item type constants. See "Appearance Manager Gestalt Selector Constants" for details on how to determine if the Appearance Manager is present and what its version is, if so.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998